package com.cy.bfzcommons.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.cy.bfzcommons.pojo.config.BaseObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("logs")
public class Logs extends BaseObject implements Serializable {
    private static final long serialVersionUID = -2251001940943958041L;
    @TableId(type = IdType.AUTO)
    //@ApiModelProperty(value = "id", required = true)
    private Long id;
    private String ip;
    private String username;
    private String operation;
    private String method;
    private String params;
    private Long time;
    private Integer status;
    private String error;
    private String user;
}
